package com.example.demo.Service;

import com.example.demo.Bean.LogDate;
import com.example.demo.Mapper.LogDateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("logDateService")
public class LogDateService {
    @Autowired
    private LogDateMapper logDateMapper;

    public List<LogDate> selectLogDate(){return logDateMapper.selectLogDate();}
    public void insertLogDate(LogDate log){
        logDateMapper.insertLogDate(log);
    }
}
